package com.aaa.stock.service;

import com.aaa.entity.Producer;
import com.aaa.stock.vo.Producervo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ProducerService extends IService<Producer> {

    Result<IPage<Producer>> findByCondition(Integer currentPage, Integer pageSize, Producervo producervo);


    Result<List<Producer>> getAll();
}
